<?php
namespace app\merchant\controller\setting;
use app\common\controller\BaseController;
use app\common\service\setting\SettingCollectionService;
use hg\apidoc\annotation as Apidoc;
/**
 * @Apidoc\Title("收款配置")
 * @Apidoc\Group("setting")
 * @Apidoc\Sort("250")
 */
class SettingCollection extends BaseController
{
    /**
     * @Apidoc\Title("查询充值页面相关参数")
     * @Apidoc\Method("POST")
     * @Apidoc\Param(ref="idsParam")
     * @Apidoc\Param(ref="app\common\model\setting\SettingCollectionModel", field="is_disable")
     */
    public function getParams()
    {
        $data = SettingCollectionService::getParams();
        return success($data);
    }
}
